/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.softace.jdbc.test;

import com.softace.jdbc.JdbcConnectionParameters;

/**
 * The sample implementation of <code>JdbcConnectionParameters</code> class
 *
 * @author S!LENT W@RRIOR
 * @version 1.0
 */
public class MySqlJdbcConnectionParameters extends JdbcConnectionParameters {

    /**
     * This is a static object that is advised to be used to avoid re-typing the
     * same code. Use this object in the constructor of classes that extend
     * <code>JdbcUtility</code> class like this:<br>
     * <code><br>
     * public class Test extends JdbcUtility {<br>
     * <br>
     * public Test() {<br>
     * super(MySqlJdbcConnectionParameters.jdbcParameters);<br>
     * }<br>
     * <br>
     *  // other methods and logic comes here<br>
     * }<br>
     * </code><br>
     *
     * @see JdbcConnectionParameters
     * @see com.softace.jdbc.test.v2_0.TestNewJdbcUtilities
     */
    public static JdbcConnectionParameters jdbcParameters = new MySqlJdbcConnectionParameters();

    @Override
    public String getDatabaseName() {
        return "test_jdbc_utils";
    }

    @Override
    public String getUsername() {
        return "root";
    }

    @Override
    public String getPassword() {
        return "root";
    }
}
